/*全局样式*/
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  box-sizing: border-box;
}

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial,
    sans-serif;
  margin: 0;
}

/*自定义NProgress进度条的颜色*/
#nprogress .bar {
  background: blue !important;
}

/*禁止选择文字小手鼠标*/
.g-no-select-pointer {
  cursor: pointer;
  user-select: none;
}
/*查询表单*/
.g-query-form {
  border: #6b6b6b 1px solid;
  padding: 5px 0 5px 0;
}
/*单行div*/
.g-oneline-space-between {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
/*高级查询条件抽屉*/
.g-advance-drawer {
  left: 200px;
  top: 80px;
  right: 5px;
}
/*高级查询条件抽屉 内部表单*/
.g-advance-drawer-form {
  margin: 10px 20px 0 5px;
  text-align: left;
  .el-form-item__label {
    font-size: 13px;
    color: #909090;
    font-weight: bold;
  }
}
/*表格外边框*/
.g-table-border {
  margin-top: 10px;
  border: #606266 1px solid;
  padding: 0;
  overflow: hidden;
}

// .el-form-item__content div {
  // width: 100%;
// }

.el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100%;
}

/*解决element table表头表格错位*/
body .el-table th.gutter {
  display: table-cell !important;
}

// .el-table thead{
//   background-color: red;
// }

// .el-table__fixed,
// .el-table__fixed-right {
//   height: calc(100% - 16px) !important;
// }

.no-head-dialog .el-dialog__header {
  padding: 0 !important;
}

.mini-head-dialog .el-dialog__header {
  padding: 2px !important;
}

.mini-head-dialog .el-dialog__body {
  padding: 10px 20px 0;
}

.no-head-dialog .el-dialog__body {
  padding: 10px 20px 0;
}

.fd-base-header {
  background: #ffd966 !important;
  color: #000000 !important;
}
.fd-new-header {
  background: #f8cbad !important;
  color: #000000 !important;
}
.fd-cost-header {
  background: #2f75b5 !important;
  color: #fdfdfd !important;
}
.fd-cost-gap-header {
  background: #ffff00 !important;
  color: #000000 !important;
}

.fd-cost-gcm {
  background: #a9d08e !important;
  color: #000000 !important;
}
.mock-excel td,
.mock-excel th {
  padding: 3px 0 !important;
}

.h10 {
  height: 10px;
}

.h20 {
  height: 20px;
}

.h30 {
  height: 30px;
}

.h40 {
  height: 40px;
}

.h50 {
  height: 50px;
}

.h60 {
  height: 60px;
}

.t-gray {
  color: #909399;
  background: #f5f7fa;
}

.t-blue {
  color: #ffffff;
  background: #2f75b5;
}

.t-yellow {
  color: #333;
  background: #ffd966;
}

.t-red {
  color: #333;
  background: #f8cbad;
}
.t-gold {
  color: #333;
  background: #ffff00;
}

.t-green {
  color: #333;
  background: #a9d08e;
}

.t-white {
  color: #333;
  background: #f5f7ff;
}

.el-input-number {
  input {
    text-align: left !important;
  }
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
// FD设置展示列按钮样式
.set-fd-cell {
  position: fixed;
  top: 45px;
  right: 45px;
  width: 26px;
  height: 26px;
  background: url(../assets/icons/diy-cell.png) no-repeat;
  background-size:26px 26px;
  border: 0;
  outline: 0;
  &:hover {
    outline: 1px solid skyblue;
  }
}
// 解决FD tab切换栏 高度遮盖问题
.el-tabs__header {
  margin: 0;
}
// 头部标题字体大小
.el-page-header__content {
  font-weight: 550;
  font-size: 14px;
}
// 鼠标经过返回的时候颜色
.el-page-header__left {
  &:hover {
    color: #409eff;
  }
}
.fd-detail,
.fd-detail-view-pane,
.fd-detail-edit-pane,
.fd-assign-pane,
.fd-evaluation-pane,
.fd-evaluation-pane,
.fd-quote-detail-pane,
.fd-quote-edit-pane,
.fd-approve-pane,
.fd-focal-pane {
  position: fixed;
  top: 64px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 0px 25px 16px 20px;
  .custom-top {
    .total-result {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 28px;
      width: 100%;
      background-color: #f6fafe;
      td {
        padding: 0 10px 0 10px;
        color: #93d1eb;
        font-weight: normal;
      }
    }
  }
  .custom-bottom {
    position: absolute;
    top: 42px;
    bottom: 20px;
    left: 20px;
    right: 25px;
  }
}
.el-dropdown-menu {
  /deep/ .el-link {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

// element UI 标签栏的样式
.el-tabs--top{
  margin-top: 8px;
}
.el-tabs--card>.el-tabs__header .el-tabs__item{
  border-left: 0
}
.el-tabs__item:hover {
  color: #fff;
  background-color: #2a91fb;
}
.el-tabs__item.is-active {
  color: #fff;
  background-color: #2a91fb;
  border-bottom-color:  #2a91fb !important;
}
.el-tabs__nav {
  border: 1px solid #2a91fb !important;
  border-radius: 4px 4px 4px 4px !important; -webkit-border-radius: 4px 4px 4px 4px !important; -moz-border-radius: 4px 4px 4px 4px !important; -ms-border-radius: 4px 4px 4px 4px !important; -o-border-radius: 4px 4px 4px 4px !important;
 }
.el-tabs__item{
  // border-left: 1px solid #2a91fb !important;
  color: #092c4d;
  border: 0;
  height: 100%;
  line-height: 26px;
  font-size: 12px;
}
.el-tabs__item::before{
  content:"";
  position: absolute;
  top: 3px;
  left: -1px;
  width: 1px;
  height: 20px;
  border-radius: .625rem;
  background-color: #2a91fb;
}

// 文字按钮连接的添加下划线
.el-link{
  text-decoration: underline;
}
// 表格主界面操作按钮的样式及颜色
.el-button--text{
  color: #092c4d !important;
  text-decoration: underline;
}
.el-button--text:hover{
  color: #2a91fb !important;
}
.el-button--text.is-disabled, .el-button--text.is-disabled:focus, .el-button--text.is-disabled:hover{
  color: #C0C4CC !important;
}
// 主界面查询按钮
.el-button--primary.is-plain{
  color: #092c4d !important;
  border: linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%);
}
.el-button--primary.is-plain:hover{
  color: #fff !important;
  background: linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%);
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner{
  background: linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%);
}
.el-button--primary:hover{
  background: linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%);
}
.el-button--primary{
  background: #409EFF;
}


.el-tabs__item.is-active{
  background:linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%)
}
.el-tabs__item:hover{
  background:linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%);
}

.el-tabs__item{
  border: linear-gradient(to bottom, #22c1fe 0%,#2b8cfb 100%)
}
// 状态列文字按钮的样式颜色
.tag-green{
  color: #01a84f;
}
.tag-blue{
  color: #7ba2f4;
}
.tag-darkBlue{
  color: #173668;
}
.tag-red{
  color: #f5212d;
}

.el-dialog__wrapper {
  .el-dialog {
    border-radius: 5px;
    .el-dialog__header {
      background: #0d356c;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      .el-dialog__title {
        color: #fff;
      }
    }
  }
}

.iconfont{
  font-size: 12px !important;
}
